package com.family.thirdpart.fallback;

import com.family.common.utils.R;
import com.family.thirdpart.crawler.to.HousingTo;
import com.family.thirdpart.feign.HorseFeignClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
@Slf4j
@Component
public class FeignServiceFallBack implements HorseFeignClient {
    @Override
    public R save(HousingTo leadingHousing) {
        log.info("开始熔断");
        return R.error();
    }
}
